#include <QApplication>
#include <QDesktopWidget>
#ifndef APPLICATIONWINDOWITEM_H
#define APPLICATIONWINDOWITEM_H

class ApplicationWindowItem
{
#define NORMAL_STATE 1
#define MIN_STATE 2
#define MAX_STATE 3
private:

public:
    ApplicationWindowItem(WId id,QString title,QRect rect,int state);


    QRect GetWindowRect(){ return window_rect;}
    int GetWindowState() {return current_state;}
    WId GetWindowID() { return window_id;}
    QString GetWindowTitle(){return window_title;}

    void SetCurrentState(int state){current_state=state;}
    void SetWindowTitle(QString title){window_title=title;}
    void SetWindowRect(int x,int y,int w,int h);
private:
    WId window_id;
    QString window_title;
    int current_state;
    QRect window_rect;


};

#endif // APPLICATIONWINDOWITEM_H
